package com.css.fxfzypg.modules.dataVolumeStatistics.repository;

import com.css.fxfzypg.manage.building.repository.entity.BuildingEntity;
import com.css.fxfzypg.manage.disasterrisk.repository.entity.DisasterRiskEntity;
import com.css.fxfzypg.manage.sampling.repository.entity.SamplingEntity;
import com.css.fxfzypg.modules.ScheduleTask.*;
import com.css.fxfzypg.modules.dataVolumeStatistics.entity.DataVolumeEntity;
import com.css.fxfzypg.modules.dataVolumeStatistics.vo.HeightAndSlopeVO;

import java.util.List;

/**
 * @author y1fan
 * @description
 */
public interface DataLumeRepository {

    Integer getHisEarthNumByProvince(String province,String toString);

    Integer getDisasterNumByProvince(String province,String toString);

    Integer getPreAppraisalNum(String province,String toString);

    Integer getDistrictInNum(String province,String toString);

    Integer getPopulationCensusNum(String province,String toString);

    Integer getBuildingNum(String province,String toString);

    Integer getHouseNum(String province,String toString);

    Integer getProjectNum(String province,String toString);

    Integer getGdpNum(String province,String toString);

    Integer getContingencyNum(String province,String toString);

    Integer getBuildingsUnitNum(String province,String toString);

    Integer getSurveyPointNum(String province,String toString);

    Integer getRiskPointNum(String province,String toString);

    Integer getfatalNum(String province,String toString);

    Integer getTownshipInNum(String province,String toString);

    Integer getDistrictPoNum(String province,String toString);

    Integer getTownshipPoNum(String province,String toString);

    void save(List<DataVolumeEntity> entities);

    void delete();

    List<DataVolumeEntity> getData();

    Integer getDivisionNum(String province,String toString);

    List<HeightAndSlopeVO> getHeightNum(String province, String toString);

    Integer getSlopeNum(String province, String toString);

    Integer getGridNum(String province, String toString);

    Integer getRoadNum(String province, String toString);

    Integer getAirportNum(String province, String toString);

    Integer getReservoirNum(String province, String toString);

    Integer getSchoolNum(String province, String toString);

    Integer getHospitalNum(String province, String toString);

    Integer getDzzhNum(String province, String toString);

    Integer getHddzNum(String province, String toString);

    Integer getDangerousNum(String province, String toString);

    Integer getGasNum(String province, String toString);

    Integer getEmergencyNum(String province, String toString);

    Integer getRsNum(String province, String toString);

    Integer getcountyNumByCity(String city);

    Integer getcountyNumByProvince(String currProvinceName);

    List<HeightAndSlopeVO> getDisHeightNum(String currProvinceName, String s);

    List<SamplingEntity> coverage();

    String getProvinceCodeByProvinceId(String province);

    Integer getCountyNum();

    Integer getProvinceHouseNumByProvinceName(String province);

    List<BuildingEntity> getAllBuilding();

    List<YpgHouseTypeCount> getHouseType();

    List<YpgHouseTypeCount> getHouseTypeByCityName(String city);

    List<DisasterRiskEntity> getDisRisk();

    void saveCoverage(List<CoverageEntity> coverageList);

    void saveHouseType(List<YpgHouseTypeCount> typeCounts);

    void saveHouseYear(List<YpgBuildMonomerCount> monomerCounts);

    void saveHouseNum(List<YpgProHouseNumCount> resultList);

    void saveRiskNum(List<YpgProDamagePointCount> pointCountList);

    void saveRiskType(List<YpgDamagePointTypeCount> typeCountList);

    void saveRiskYear(List<YpgDamagePointSituationCount> yearList);

    void savePointCounts(List<YpgProSurveyPointCount> surveyPointCounts);

    void delCoverage();

    void delPointCounts();

    void delHouseNum();

    void delHouseType();

    void delHouseYear();

    void delRiskNum();

    void delRiskType();

    void delRiskYear();

}
